﻿<!DOCTYPE html>
<html lang="en">
<#include "../include/resource-head.ftl"/>
<#assign active='orderList'/>
<body>
<#include "../include/common-top.ftl"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
    <#include "../include/common-menu.ftl"/>
        <div class="main-content">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="space-6"></div>
                        <div class="row">
                            <div class="col-sm-10 col-sm-offset-1">
                                <div class="widget-box transparent invoice-box">
                                    <div class="widget-header widget-header-large">
                                        <h3 class="grey lighter pull-left position-relative">
                                            <i class="icon-leaf green"></i>
                                            订单信息
                                        </h3>

                                        <div class="widget-toolbar no-border invoice-info">
                                            <span class="invoice-info-label">用户:</span>
                                            <span class="red">${orderModel.username!}</span>

                                            <br />
                                            <span class="invoice-info-label">下单时间:</span>
                                            <span class="blue">${orderModel.addtime?string('yyyy-MM-dd HH:mm:ss')}</span>
                                        </div>

                                        <div class="widget-toolbar hidden-480">
                                            <a href="#">
                                                <i class="icon-user"></i>
                                            </a>
                                        </div>
                                    </div>

                                    <div class="widget-body">
                                        <div class="widget-main padding-24">
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="row">
                                                        <div class="col-xs-11 label label-lg label-info arrowed-in arrowed-right">
                                                            <b>礼品信息</b>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <ul class="list-unstyled spaced">
                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                ${orderModel.goodsName!}
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                <#if orderModel.goodsType ==  1>可定制<#else>不可定制</#if>
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                <img src="/data/${orderModel.goodsImg!}" width="200px">
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div><!-- /span -->

                                                <div class="col-sm-6">
                                                    <div class="row">
                                                        <div class="col-xs-11 label label-lg label-success arrowed-in arrowed-right">
                                                            <b>预留信息</b>
                                                        </div>
                                                    </div>

                                                    <div>
                                                        <ul class="list-unstyled  spaced">
                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                备注：${orderModel.remark!}
                                                            </li>


                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                定制图案：<#if orderModel.file??><img src="/data/${orderModel.file!}" width="200px"><#else>没有定制图案</#if>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div><!-- /span -->
                                            </div><!-- row -->

                                            <div class="space"></div>

                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="row">
                                                        <div class="col-xs-11 label label-lg label-info arrowed-in arrowed-right">
                                                            <b>订单信息</b>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <ul class="list-unstyled spaced">
                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                            订单号：${orderModel.orderno!}
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                下单时间：${orderModel.addtime?string('yyyy-MM-dd HH:mm:ss')}
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                支付时间：<#if orderModel.paytime??>${orderModel.paytime?string('yyyy-MM-dd HH:mm:ss')}<#else>未支付</#if>
                                                            </li>


                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                发货时间：<#if orderModel.sendtime??>${orderModel.sendtime?string('yyyy-MM-dd HH:mm:ss')}<#else>未发货</#if>
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                收货时间：<#if orderModel.receivetime??>${orderModel.receivetime?string('yyyy-MM-dd HH:mm:ss')}<#else>未收货</#if>
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                评价时间：<#if orderModel.evaluatetime??>${orderModel.evaluatetime?string('yyyy-MM-dd HH:mm:ss')}<#else>未评价</#if>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div><!-- /span -->

                                                <div class="col-sm-6">
                                                    <div class="row">
                                                        <div class="col-xs-11 label label-lg label-info arrowed-in arrowed-right">
                                                            <b>订单信息</b>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <ul class="list-unstyled spaced">
                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                礼品单价：${orderModel.salary?string('#0.00')}
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                礼品数量：${orderModel.count?string('#')}
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                订单总价：${orderModel.total?string('#0.00')}
                                                            </li>


                                                            <li>
                                                                <i class="icon-caret-right green"></i>
                                                                订单评价：<#if evaluate??>${evaluate.content!}</#if>
                                                            </li>

                                                            <li>
                                                                <i class="icon-caret-right blue"></i>
                                                                商家回复：<#if evaluate??>${evaluate.reply!}</#if>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div><!-- /span -->
                                            </div><!-- row -->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
        <!-- /.main-content -->
    </div>
    <!-- /.main-container -->
</body>
<#include "../include/resource-script.ftl"/>
</html>

